﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using MilkTeaMachine.OfflineClient.EntityFrameworkCore.Models;

namespace MilkTeaMachine.OfflineClient.Models;

public record FormulaSaveOrUpdateVo
{
    public int Id { get; set; }
    public string? Name { get; set; }
    public string? Code { get; set; }

    public List<IngredientAndWeightVo> IngredientAndWeightList { get; set; } =
    [
        new IngredientAndWeightVo(), new IngredientAndWeightVo(), new IngredientAndWeightVo(),
        new IngredientAndWeightVo(), new IngredientAndWeightVo(), new IngredientAndWeightVo(),
    ];
    public string ColdWaterWeight { get; set; } = "0";
    public string HotWaterWeight { get; set; } = "0";
    public string IceWeight { get; set; } = "0";
    public CupTypeEnum CupType { get; set; }
    public SugarTypeEnum SugarType { get; set; }
    public IceTypeEnum IceType { get; set; }
    public bool IsAddWater { get; set; }
    public bool IsAddColdWater { get; set; }
    public bool IsAddHotWater { get; set; }
}